package com.lx.ngsl.exam.score.service;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lx.ngsl.exam.score.entity.ScoreEntity;
import com.lx.ngsl.exam.score.repository.ScoreRepository;

@Service
public class ScoreService {

	@Autowired
	private ScoreRepository repository;
	
	@Transactional
	public void saveScore(ScoreEntity s) {
		repository.save(s);
		
	}
}
